<?php if($item['currency'] == 2){
?>
<pre><?php echo $item['price_rubley'];?> р.</pre>
<pre style="color: #007A0C;font-size: 13px;"><?php echo $item['price_dollar'];?> $</pre>
<?php }else{?> 
<pre style="color: #007A0C;font-size: 13px;"><?php echo $item['price_dollar'];?> $</pre>
<pre><?php echo $item['price_rubley'];?> р.</pre>

<?php  }?>
